package cn.iocoder.yudao.module.train.controller.wechat.login.vo;


import cn.iocoder.yudao.module.train.dal.dataobject.student.StudentDO;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fhs.core.trans.anno.Trans;
import com.fhs.core.trans.constant.TransType;
import com.fhs.core.trans.vo.VO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "微信小程序 - 微信用户 Response VO")
@Data
@ExcelIgnoreUnannotated
public class WxUsersLoginRespVO implements VO {

    @Schema(description = "微信用户ID", example = "1024")
    @ExcelProperty("微信用户ID")
    private Long id;

    @Schema(description = "用户token", example = "Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiO")
    @ExcelProperty("用户token")
    private String apiToken;


    @Schema(description = "微信openid", example = "28850")
    @ExcelProperty("微信openid")
    private String uOpenId;

    @Schema(description = "昵称", example = "赵六")
    @ExcelProperty("昵称")
    private String uName;

    @Schema(description = "头像url", example = "https://picsum.photos/200")
    @ExcelProperty("头像url")
    private String uAvatar;

    @Schema(description = "用户角色")
    @ExcelProperty("用户角色")
    private String uRole;

    @Schema(description = "账号状态")
    @ExcelProperty("账号状态")
    private String uStatus;

    @Schema(description = "创建者")
    @ExcelProperty("创建者")
    private String creator;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新者")
    @ExcelProperty("更新者")
    private String updater;

    @Schema(description = "更新时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("更新时间")
    private LocalDateTime updateTime;
}
